Xbasic

SQL::ConnectionUpdateData Method

Syntax

Result_Flag as L = UpdateData(TableOwner as C, TableName as C, ResultSet as SQL::ResultSet [, EventScript as C])

Arguments

TableOwnerCharacter

The owner of the table.

TableNameCharacter

The name of the table containing the data.

ResultSetSQL::ResultSet

A SQL::ResultSet object that contains transactions to apply.

EventScriptCharacter

Default = "". An Xbasic Script implementing any of the following functions: In each case, the Context argument is the connection itself.

  • UpdateBegin()
  • UpdateProgress()
  • UpdateEnd()

Returns

Result_FlagLogical

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Description

Apply changes to existing rows in a table in the currently connected database using a result set.

Discussion

The UpdateData() method applies changes to existing rows in a table in the currently connected database using a result set.

See Also